<?php
namespace Home\Controller;

class ArticleController extends BaseController {

	//租赁介绍
    public function lease(){
        $article_id = I('article_id',1240);
    	$article = D('article')->where("article_id=$article_id")->find();
    	$this->assign('article',$article);
        $this->display();
    }

	//培训介绍
	public function train(){
		$article_id = I('article_id',1241);
		$article = D('article')->where("article_id=$article_id")->find();
		$this->assign('article',$article);
		$this->display();
	}

	//销售介绍
	public function sale(){
		$article_id = I('article_id',1242);
		$article = D('article')->where("article_id=$article_id")->find();
		$this->assign('article',$article);
		$this->display();
	}

	//拍照介绍
	public function photo(){
		$article_id = I('article_id',1243);
		$article = D('article')->where("article_id=$article_id")->find();
		$this->assign('article',$article);
		$this->display();
	}

	//联系我们
	public function contact(){
		$article_id = I('article_id',1244);
		$article = D('article')->where("article_id=$article_id")->find();
		$this->assign('article',$article);
		$this->display();
	}

}